package com.wochao.web.app.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.wochao.model.entity.BrowsingHistory;
import com.wochao.web.app.vo.history.HistoryItemVo;
import org.apache.ibatis.annotations.Mapper;

@Mapper
public interface BrowsingHistoryMapper extends BaseMapper<BrowsingHistory> {

    /**
     * 分页查询浏览历史
     *
     * @param page
     * @param userId
     * @return
     */
    IPage<HistoryItemVo> pageQueryHistory(IPage<HistoryItemVo> page, Long userId);
}




